# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class WafWhiteRuleModel(object):

    def __init__(self, id=None, matchOp=None, val=None, valZh=None, enable=None, actions=None, updateTime=None):
        """
        :param id: (Optional) 白名单规则id
        :param matchOp: (Optional) 匹配模式,uri类型有效，0=完全匹配  1=前缀匹配 2=包含 3=正则 4=大于 5=后缀
        :param val: (Optional) 匹配值
        :param valZh: (Optional) 匹配值的中文名
        :param enable: (Optional) 是否启用, true为启用,false为未启用
        :param actions: (Optional) 后续处理 "waf" "cc" "deny" "ratelimit" 自由组合，空表示跳过后续所有阶段
        :param updateTime: (Optional) 白名单的修改时间,UTC时间
        """

        self.id = id
        self.matchOp = matchOp
        self.val = val
        self.valZh = valZh
        self.enable = enable
        self.actions = actions
        self.updateTime = updateTime
